<%--
  Created by IntelliJ IDEA.
  User: xiaohuang
  Date: 2021/12/27
  Time: 21:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<<!DOCTYPE html>
<html>
<head>
    <title>西大电影网登录界面</title>
    <link rel="stylesheet" href="css/style.css">

    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="author" content="order by dede58.com"/>
    <meta name="keywords" content="Simple Login Form Widget Responsive, Login Form Web Template, Flat Pricing Tables, Flat Drop-Downs, Sign-Up Web Templates, Flat Web Templates, Login Sign-up Responsive Web Template, Smartphone Compatible Web Template, Free Web Designs for Nokia, Samsung, LG, Sony Ericsson, Motorola Web Design" />
    <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
    <style type="text/css">
        body{
            background-image: url("./picture/home_wel.jpeg");
        }
    </style>
    <script>//刷新界面
        function Code() {
            var timestamp=Date.now();
            document.getElementById("vimg").src="./VCodeServlet"+'?'+timestamp;
        }

    </script>
</head>

<body>
<h1>西大电影网</h1>
<div class="container w3">
    <h2>登录</h2>
    <form action="./LoginServlet" method="post">
        <div class="username">
            <span class="username" style="height:19px">用户:</span>
            <input type="text" name="name" class="name" placeholder="" required>
            <div class="clear"></div>
        </div>
        <div class="password-agileits">
            <span class="username" style="height:19px">密码:</span>
            <input type="password" name="password" class="password" placeholder="" required>
            <div class="clear"></div>
        </div>
        <div>
            <tr><td>
                <input type="text"  style="margin-left: 0px;padding-bottom: 5px;" maxlength="5" class="verifyInput"  name="verifyInput"  placeholder="请输入验证码">
                <a href="javascript:;" onclick="Code()"><img class="verifyCode" id="vimg" src="./VCodeServlet"/></a>
            </td></tr>
        </div>
        <div class="rem-for-agile">
            <input type="checkbox" name="remember" class="remember">记住密码 　　
            <br>
            <a href="#">忘记密码</a><br>
        </div>
        <div class="login-w3">
            <input type="submit" class="login" style="margin-top: 10px;"   value="Login" onclick="document.location.href='home_movies.jsp';">
        </div>
        <div class="clear"></div>
    </form>
</div>
<div class="footer-w3l">
    <p> 西大电影网登录系统</p>
</div>
</body>
</html>


